<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script src="./index.js"></script>
<script>
	// 执行器函数需要接收两个参数(类型为函数)：resolve,reject
	const p = new Promise(function(resolve,reject){
		console.log(resolve,reject);``
	});
	console.log(p);
</script>
</html>